<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Type syntax_option_type</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../../xpressive/reference.html#header.boost.xpressive.regex_constants_hpp" title="Header &lt;boost/xpressive/regex_constants.hpp&gt;">
<link rel="prev" href="../regex_compiler.html" title="Struct template regex_compiler">
<link rel="next" href="match_flag_type.html" title="Type match_flag_type">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../regex_compiler.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../xpressive/reference.html#header.boost.xpressive.regex_constants_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="match_flag_type.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.xpressive.regex_constants.syntax_option_type"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Type syntax_option_type</span></h2>
<p>boost::xpressive::regex_constants::syntax_option_type</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../xpressive/reference.html#header.boost.xpressive.regex_constants_hpp" title="Header &lt;boost/xpressive/regex_constants.hpp&gt;">boost/xpressive/regex_constants.hpp</a>&gt;

</span>
<span class="keyword">enum</span> <span class="identifier">syntax_option_type</span> <span class="special">{</span> <a class="link" href="syntax_option_type.html#boost.xpressive.regex_constants.syntax_option_type.ECMAScript">ECMAScript</a> = = 0, <a class="link" href="syntax_option_type.html#boost.xpressive.regex_constants.syntax_option_type.icase">icase</a> = = 1 &lt;&lt; 1, 
                          <a class="link" href="syntax_option_type.html#boost.xpressive.regex_constants.syntax_option_type.nosubs">nosubs</a> = = 1 &lt;&lt; 2, <a class="link" href="syntax_option_type.html#boost.xpressive.regex_constants.syntax_option_type.optimize">optimize</a> = = 1 &lt;&lt; 3, 
                          <a class="link" href="syntax_option_type.html#boost.xpressive.regex_constants.syntax_option_type.collate">collate</a> = = 1 &lt;&lt; 4, <a class="link" href="syntax_option_type.html#boost.xpressive.regex_constants.syntax_option_type.single_line">single_line</a> = = 1 &lt;&lt; 10, 
                          <a class="link" href="syntax_option_type.html#boost.xpressive.regex_constants.syntax_option_type.not_dot_null">not_dot_null</a> = = 1 &lt;&lt; 11, 
                          <a class="link" href="syntax_option_type.html#boost.xpressive.regex_constants.syntax_option_type.not_dot_newline">not_dot_newline</a> = = 1 &lt;&lt; 12, 
                          <a class="link" href="syntax_option_type.html#boost.xpressive.regex_constants.syntax_option_type.ignore_white_space">ignore_white_space</a> = = 1 &lt;&lt; 13 <span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.45.5.7.4.4"></a><h2>Description</h2>
<p>Flags used to customize the regex syntax </p>
<div class="variablelist"><dl class="variablelist compact">
<dt><span class="term"><code class="computeroutput">ECMAScript</code><a name="boost.xpressive.regex_constants.syntax_option_type.ECMAScript"></a></span></dt>
<dd><p>Specifies that the grammar recognized by the regular expression engine uses its normal semantics: that is the same as that given in the ECMA-262, ECMAScript Language Specification, Chapter 15 part 10, RegExp (Regular Expression) Objects (FWD.1). </p></dd>
<dt><span class="term"><code class="computeroutput">icase</code><a name="boost.xpressive.regex_constants.syntax_option_type.icase"></a></span></dt>
<dd><p>Specifies that matching of regular expressions against a character container sequence shall be performed without regard to case. </p></dd>
<dt><span class="term"><code class="computeroutput">nosubs</code><a name="boost.xpressive.regex_constants.syntax_option_type.nosubs"></a></span></dt>
<dd><p>Specifies that when a regular expression is matched against a character container sequence, then no sub-expression matches are to be stored in the supplied <a class="link" href="../match_results.html" title="Struct template match_results">match_results</a> structure. </p></dd>
<dt><span class="term"><code class="computeroutput">optimize</code><a name="boost.xpressive.regex_constants.syntax_option_type.optimize"></a></span></dt>
<dd><p>Specifies that the regular expression engine should pay more attention to the speed with which regular expressions are matched, and less to the speed with which regular expression objects are constructed. Otherwise it has no detectable effect on the program output. </p></dd>
<dt><span class="term"><code class="computeroutput">collate</code><a name="boost.xpressive.regex_constants.syntax_option_type.collate"></a></span></dt>
<dd><p>Specifies that character ranges of the form "[a-b]" should be locale sensitive. </p></dd>
<dt><span class="term"><code class="computeroutput">single_line</code><a name="boost.xpressive.regex_constants.syntax_option_type.single_line"></a></span></dt>
<dd><p>Specifies that the ^ and $ metacharacters DO NOT match at internal line breaks. Note that this is the opposite of the perl default. It is the inverse of perl's /m (multi-line) modifier. </p></dd>
<dt><span class="term"><code class="computeroutput">not_dot_null</code><a name="boost.xpressive.regex_constants.syntax_option_type.not_dot_null"></a></span></dt>
<dd><p>Specifies that the . metacharacter does not match the null character \0. </p></dd>
<dt><span class="term"><code class="computeroutput">not_dot_newline</code><a name="boost.xpressive.regex_constants.syntax_option_type.not_dot_newline"></a></span></dt>
<dd><p>Specifies that the . metacharacter does not match the newline character \n. </p></dd>
<dt><span class="term"><code class="computeroutput">ignore_white_space</code><a name="boost.xpressive.regex_constants.syntax_option_type.ignore_white_space"></a></span></dt>
<dd><p>Specifies that non-escaped white-space is not significant. </p></dd>
</dl></div>
</div>
</div>
<div class="copyright-footer">Copyright © 2007 Eric Niebler<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../regex_compiler.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../xpressive/reference.html#header.boost.xpressive.regex_constants_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="match_flag_type.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
